package lab03.test02;

import java.io.File;

public class Test {

    public static void main(String[] args) {
         File file = new File("E:\\");
        file.listFiles();
        for (File f : file.listFiles()){
            if (f.isDirectory()){
                System.out.println("目录："+f.getName());
            }
        }
/*
        int nums[] = new int[3];
        nums[0]= 1;
        nums[1]=2 ;
        nums[3] = 3;
        for (int a : nums){

        }
*/

    }
}
